//
//  MyCollectionViewCell.h
//  FaceRecognition
//
//  Created by syun on 2018/1/22.
//  Copyright © 2018年 Sylar. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ManagerPhotoModel.h"

@protocol photoChangeViewDelegate <NSObject>

- (void)photoChangeAtIndex:(NSInteger)index;

@end

@interface MyCollectionViewCell : UICollectionViewCell

@property (nonatomic, strong) UIImageView * photoImageView;
/**点击上传按钮*/
@property (nonatomic, strong) UIButton *selectBtn;

@property (nonatomic, strong) UILabel * nameLabel;

@property (nonatomic, strong) UILabel * roleLabel;

@property (nonatomic, assign) NSInteger indexRow;
/**photoid 有这个说明是替换照片，没有是新加照片*/
@property (nonatomic,strong) NSNumber *photoId;

@property (nonatomic, assign) id<photoChangeViewDelegate>delegate;

- (void)setDataForCell:(ManagerPhotoModel *)model;

@end
